home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1765 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: hydra.zrz.TU-Berlin.DE!rawneiha
  2. From: rawneiha@hydra.zrz.TU-Berlin.DE (Philipp Boerker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TMapping again!
  5. Date: 23 Jan 1996 12:39:34 GMT
  6. Organization: Technical University of Berlin, Germany
  7. Message-ID: <4e2ku6$31m@news.cs.tu-berlin.de>
  8. References: <4d6v0t$3dt@maureen.teleport.com> <4dg4jk$km@news.cs.tu-berlin.de> <4dhvd5$5r2@maureen.teleport.com> <38232113@kone.fipnet.fi> <4e10ol$ck3@maureen.teleport.com>
  9. NNTP-Posting-Host: hydra.zrz.tu-berlin.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13.  
  14. sschaem@teleport.com (Stephan Schaem) writes:
  15.  
  16. >        repeat  8
  17. >        mw      D1,D2
  18. >        mb      D0,D2
  19. >        addx.l  d7,D0
  20. >        movea.l d2,a0
  21. >        addx.l  d6,D1
  22. >        mw      (A0),d3
  23. >        mw      D1,D2
  24. >        mb      D0,D2
  25. >        movea.l d2,a0
  26. >        mb      (A0),d3
  27. >        addx.l  d7,D0
  28. >        addx.l  d6,D1
  29. >        mw      d3,(a1)+
  30. >        endr
  31.  
  32. > the above map 2 pixels from a 256x256 tmap buffer...
  33. > You should be able to use 24bit precission .
  34.  
  35. I think mapping 2 pixels like you did is not optimal.
  36. If the first pixel is the lowest byte of a long the
  37. word read will cause two mem reads. The only thing you
  38. save is a write. But reads stop the processor while
  39. writes don t! Do proper pipelining instead.
  40.  
  41. Greets,
  42. Phil.
  43. grond/matrix
  44.  
  45.